/*******************************************************************************
 * Copyright (c) 2010 Gary Yund {OTHER COPYRIGHT OWNERS}.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    Gary Yund - initial API and implementation and/or initial documentation
 *******************************************************************************/

#import <UIKit/UIKit.h>

@protocol BB_ViewManagerProtocolUser;

@protocol BB_ViewManagerProtocol

/**
 Displays the view managed by viewController.
 
 \note The ViewManager will retain ownership of the viewController.
 
 \param viewController
 Controller containing the view to be displayed.
 */
-(void) displayView:(UIViewController <BB_ViewManagerProtocolUser> * )aViewController;

@end


@protocol BB_ViewManagerProtocolUser

/**
 When the view manager displays a view, it calls the following to tell the view
 Controller who is loading them by providing a protocal interface.
 
 */
@property (nonatomic, retain) id <BB_ViewManagerProtocol> bbViewManager;

@end